Includes APIs for enumerating frame grabbers, creating handles, and turning on frame grabbers.
More...
Includes APIs for enumerating frame grabbers, creating handles, and turning on frame grabbers.
◆ MV_CC_EnumInterfaces()
| def MvCameraControl_class.MV_CC_EnumInterfaces |
( |
|
nTLayerType, |
|
|
|
stInterfaceInfoList |
|
) |
| |
|
static |
Enumerates frame grabbers.
- Parameters
-
| nTLayerType | [IN] It refers to the frame grabber interface type.
| Frame Grabber Interface | Value | Description |
| MV_GIGE_INTERFACE | 0x00000001 | GigE vision frame grabber. |
| MV_CAMERALINK_INTERFACE | 0x00000004 | Camera Link frame grabber. |
| MV_CXP_INTERFACE | 0x00000008 | CoaXPress frame grabber. |
| MV_XOF_INTERFACE | 0x00000010 | XoFLink frame grabber. |
| MV_VIR_INTERFACE | 0x00000020 | Virtual frame grabber. |
| MV_LC_INTERFACE | 0x00000040 | Board type light controller. |
|
| pInterfaceInfoList | [IN][OUT] It refers to the frame grabber list. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
- Note
- This API is not available in ARM and Linux 32 systems.
◆ MV_CC_CreateInterface()
| def MvCameraControl_class.MV_CC_CreateInterface |
( |
|
self, |
|
|
|
stInterfaceInfo |
|
) |
| |
Creates frame grabber handle.
- Parameters
-
| handle | [OUT] It refers to the frame grabber handle. |
| pInterfaceInfo | [IN] It refers to frame grabber information. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
- Note
- This API is not available in ARM and Linux 32 systems.
◆ MV_CC_CreateInterfaceByID()
| def MvCameraControl_class.MV_CC_CreateInterfaceByID |
( |
|
self, |
|
|
|
InterfaceID |
|
) |
| |
Creates frame grabber handle by frame grabber ID.
- Parameters
-
| pInterfaceInfo | [IN] It refers to the frame grabber handle. |
| pInterfaceID | [IN] It refers to the frame grabber ID. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
- Note
- This API is not available in ARM and Linux 32 systems.
◆ MV_CC_OpenInterface()
| def MvCameraControl_class.MV_CC_OpenInterface |
( |
|
self | ) |
|
Turns on the frame grabber.
- Parameters
-
| handle | [IN] It refers to the frame grabber handle. |
| pReserved | [IN] Reserved (NULL). |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
- Note
- This API is not available in ARM and Linux 32 systems.
◆ MV_CC_CloseInterface()
| def MvCameraControl_class.MV_CC_CloseInterface |
( |
|
self | ) |
|
Turns off the frame grabber.
- Parameters
-
| handle | [IN] It refers to the frame grabber handle. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
- Note
- This API is not available in ARM and Linux 32 systems.
◆ MV_CC_DestroyInterface()
| def MvCameraControl_class.MV_CC_DestroyInterface |
( |
|
self | ) |
|
Destroys the frame grabber handle.
- Parameters
-
| handle | [IN] It refers to the frame grabber handle. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.
- Note
- This API is not available in ARM and Linux 32 systems.
◆ MV_CC_EnumDevicesByInterface()
| def MvCameraControl_class.MV_CC_EnumDevicesByInterface |
( |
|
self, |
|
|
|
stDevList |
|
) |
| |
Enumerates devices by frame grabber handle.
- Parameters
-
| handle | [IN] It refers to the frame grabber handle. |
| pstDevList | [OUT] It refers to device list. |
- Returns
- Returns MV_OK for success, and returns corresponding Error Code for failure.